package com.ntschy.bt.entity.dto.BtHelpDTO.ReplyDTO;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author CM
 */
@Data
@ToString(callSuper = true)
@ApiModel(description = "求助回复DTO")
public class BtHelpReplyDTO {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID")
    @NotBlank(message = "主键ID不能为空")
    @Length(min = 36, max = 36, message = "ID长度不合法")
    private String id;


    /**
     * 回复人ID
     */
    @NotNull(message = "回复人ID不能为空")
    @ApiModelProperty(value = "回复人ID")
    @Length(min = 36, max = 36, message = "ID长度不合法")
    private String replayUserId;


    /**
     * 回复人姓名
     */
    @NotNull(message = "回复人姓名不能为空")
    @ApiModelProperty(value = "回复人姓名")
    private String replayUserName;

    /**
     * 回复时间
     */
    @NotNull(message = "回复时间不能为空")
    @ApiModelProperty(value = "回复时间")
    private String replayTime;

    /**
     * 回复信息
     */
    @NotNull(message = "回复信息不能为空")
    @ApiModelProperty(value = "回复信息")
    private String replayOpinion;

}
